package com.example.print.other;

import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;

import com.example.print.R;

public class CustomeProgressDialog extends ProgressDialog {


    private Context mContent;

    public CustomeProgressDialog(Context context) {
        super(context);
        mContent = context;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setIndeterminateDrawable(mContent.getResources().getDrawable(R.drawable.progress));

    }
}
